[//提现订单录入
    async function( CANSHU ){
        var $THIS = this;
        var interval = 10;
        let  $features = await Kuoplus("pay");
        var  $iii = 0;
        let $db = await db("pay_withdraw");
        setInterval(async function(){
            try {
                $iii ++;
                if($iii %1000 == 1){
                    $features = await Kuoplus("pay");
                }
                if($iii %3000 == 1){
                    $db = await db("pay_withdraw");
                }

                if($features && $features['configure'] && 
                    $features['configure']['人工审核']  && 
                    $features['configure']['提现审核']  && 
                    $features['configure']['人工审核']['0']  != 1){

                    let Shenhe = $features['configure']['提现审核'];
                    let data = await $db.Where({'off':0}).Find();
                    let uidci   = Shenhe[0]?Shenhe[0]:0;
                    let uidjine = Shenhe[1]?Shenhe[1]:0;
                    let zhangci   = Shenhe[2]?Shenhe[2]:0;
                    let zhangjine = Shenhe[3]?Shenhe[3]:0;
                    let Ymd = Mode("Tools").Date('Ymd');
                    let msg = "";
                    if(data){
                        let OFF = 2;
                        if(data.uid > 0){
                            let $where = {'uid':data,'riqi':Ymd};
                            if(uidci > 0){

                                let zongshu =  await $db.Where($where).Total();
                                if(zongshu > uidci){
                                    OFF = 1; 
                                    msg = "UID num";
                                }
                            }
                            if(OFF == 2 && uidjine > 0){
                                let $zonge = await $db.Qurey( "select sum(money)as jine from `"+$db.Biao()+"` "+ $db.Wherezuhe($where));
                                if($zonge ){
                                    let jinxx = $zonge['0']['jine']? $zonge['0']['jine']:0; 
                                    if(jinxx > uidjine){
                                        OFF = 1; 
                                        msg = "UID sum"; 
                                    } 
                                }
                            }
                        }
                        if(data.zhanghao != ""){
                            let $where = {'zhanghao':data.zhanghao,'riqi':Ymd};
                            if(OFF == 2 && zhangci > 0){

                                let zongshu =  await $db.Where($where).Total();
                                if(zongshu > zhangci){
                                    OFF = 1;
                                    msg = "zhanghao num";
                                }
                            }

                            if(OFF == 2 && zhangjine > 0){
                                let $zonge = await $db.Qurey( "select sum(money)as jine from `"+$db.Biao()+"` "+ $db.Wherezuhe($where));
                                if($zonge ){
                                    let jinxx = $zonge['0']['jine']? $zonge['0']['jine']:0; 
                                    if(jinxx > zhangjine){
                                        OFF = 1; 
                                        msg = "zhanghao sum"; 
                                    } 
                                }
                            }
                        }
                        await $db.Where({id:data['id']}).Update({off:OFF,ctime:Mode("Tools").Time(),msg:msg});
                    }

                }
                
                let TIDATA =  await $db.Where({off:2}).Find();
                if(TIDATA){
                    if($THIS['WithDraw_type'+TIDATA['type']]){
                        await $THIS['WithDraw_type'+TIDATA['type']](TIDATA);
                    }else{
                        await $db.Where({'id' : TIDATA['id']}).Update({'off':5,msg:"Type "+TIDATA['type']+" Not"});
                    }
                }

            } catch (error) { p(error)}
          
        },interval);
          
    }
]